﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("VenderGoodsLicense", "VenderGoodsLicense", new string[] { "VENDERGOODSLICENSEID" })]
    [KnownType(typeof(VenderGoodsLicense))]
    public class VenderGoodsLicense : MB.Orm.Common.BaseModel
    {
        public VenderGoodsLicense()
        {

        }
        private int _VENDERGOODSLICENSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VENDERGOODSLICENSEID", System.Data.DbType.Int32)]
        public int VENDERGOODSLICENSEID
        {
            get { return _VENDERGOODSLICENSEID; }
            set { _VENDERGOODSLICENSEID = value; }
        }
        private int _VENDERID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VENDERID", System.Data.DbType.Int32)]
        public int VENDERID
        {
            get { return _VENDERID; }
            set { _VENDERID = value; }
        }
        private int _LICENSE_TYPE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LICENSE_TYPE", System.Data.DbType.Int32)]
        public int LICENSE_TYPE
        {
            get { return _LICENSE_TYPE; }
            set { _LICENSE_TYPE = value; }
        }
        private DateTime _VALIDDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VALIDDATE", System.Data.DbType.DateTime)]
        public DateTime VALIDDATE
        {
            get { return _VALIDDATE; }
            set { _VALIDDATE = value; }
        }
        private string _CREATOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATOR", System.Data.DbType.String)]
        public string CREATOR
        {
            get { return _CREATOR; }
            set { _CREATOR = value; }
        }
        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }
        private string _EDITOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITOR", System.Data.DbType.String)]
        public string EDITOR
        {
            get { return _EDITOR; }
            set { _EDITOR = value; }
        }
        private DateTime _EDITDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITDATE", System.Data.DbType.DateTime)]
        public DateTime EDITDATE
        {
            get { return _EDITDATE; }
            set { _EDITDATE = value; }
        }
        private string _REMARK;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REMARK", System.Data.DbType.String)]
        public string REMARK
        {
            get { return _REMARK; }
            set { _REMARK = value; }
        }
        private string _IMGURL;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("IMGURL", System.Data.DbType.String)]
        public string IMGURL
        {
            get { return _IMGURL; }
            set { _IMGURL = value; }
        }
        private string _IMGNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("IMGNAME", System.Data.DbType.String)]
        public string IMGNAME
        {
            get { return _IMGNAME; }
            set { _IMGNAME = value; }
        }
        private string _VENDERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VENDERNAME", System.Data.DbType.String)]
        public string VENDERNAME
        {
            get { return _VENDERNAME; }
            set { _VENDERNAME = value; }
        }
        private string _VENDERCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VENDERCODE", System.Data.DbType.String)]
        public string VENDERCODE
        {
            get { return _VENDERCODE; }
            set { _VENDERCODE = value; }
        }
        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }
        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        [DataMember]
        public string ErrorMsg { get; set; }
    }
}
